package com.yaodian100.ec.activity.service;

import java.io.File;

import com.yaodian100.core.common.exception.CoreException;
import com.yaodian100.core.common.service.DomainService;
import com.yaodian100.core.common.utils.ServerValue;
import com.yaodian100.ec.activity.entity.ActivityPage;

public interface ActivityPageService extends DomainService<ActivityPage> {
	public static final String MAIN_VISUAL_IMAGE_PATH = ServerValue.getMidHtmlPath() + "system/act/pm/eventImages";
	public static final String MAIN_VISUAL_IMAGE_WEB_PATH = "/act/pm/system/eventImages";
	/**
	 * 活動主視覺版塊上傳圖檔
	 * @param imageFile
	 * @throws CoreException
	 */
	public String uploadMainVisualImage(File imageFile) throws CoreException;
}
